import App from './App'
import store from './store'
import uvUI from '@/uni_modules/uv-ui-tools'
import './utils/interceptor.js'

import Vue from 'vue'
import './uni.promisify.adaptor'

Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(uvUI)

uni.$uv.setConfig({
	props: {
		input: {
			fontSize: { default: '32rpx' },
			disabledColor: { default: '#fff' },
			border: { default: 'none' }
		},
		textarea: { showConfirmBar: { default: false } }
	},

})

const app = new Vue({
	store,
	...App
})
app.$mount()

// // #ifdef VUE3
// import { createSSRApp } from 'vue'
// export function createApp() {
// 	const app = createSSRApp(App)
// 	return { app }
// }
// // #endif